/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PurchaseEnum extends StringEnum
{
    public static final String PURED_VALUE = "30";
    public static final String PURING_VALUE = "20";
    public static final String UNPUR_VALUE = "10";

    public static final PurchaseEnum pured = new PurchaseEnum("pured", PURED_VALUE);
    public static final PurchaseEnum puring = new PurchaseEnum("puring", PURING_VALUE);
    public static final PurchaseEnum unPur = new PurchaseEnum("unPur", UNPUR_VALUE);

    /**
     * construct function
     * @param String purchaseEnum
     */
    private PurchaseEnum(String name, String purchaseEnum)
    {
        super(name, purchaseEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PurchaseEnum getEnum(String purchaseEnum)
    {
        return (PurchaseEnum)getEnum(PurchaseEnum.class, purchaseEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PurchaseEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PurchaseEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PurchaseEnum.class);
    }
}